package com.liulihui.web.vo;

public enum ResultInfoEnum {
    CODE_SUCCESS(201,"success"),
    CODE_CLIENT_IS_NOT_NUMBER(402,"数字转换失败"),
    CODE_CLIENT_PARAM_ERROR(401,"客户端参数错误"),
    CODE_CLIENT_LEN_ERROR(403,"长度不符合要求"),
    code_server_unknown_error(501,"服务器端错误");





    private int code;
    private  String msg;

    ResultInfoEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
